package com.basics.api.response.channel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CommentData implements Serializable {

    @ApiModelProperty(value = "评论id")
    private String id;

    @ApiModelProperty(value = "评论时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date commentTime;

    @ApiModelProperty(value = "是否自己评论")
    private Boolean isMine;
}
